<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <meta charset='utf-8'>
    <title>CRM数据字典</title>
    <link rel="stylesheet" type="text/css" href="/static/js/jquery-easyui/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/js/jquery-easyui/themes/icon.css">
    <script type="text/javascript" src="/static/js/jquery-easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/views/systemdictionary.js"></script>
</head>
    <body class="easyui-layout">
    <div id="systemdictionary_layout" class="easyui-layout" fit="true" style="width:600px;">
       <div data-options="region:'west',title:'字典目录',split:true" style="width:600px;">
           <table id="systemdictionary_tab" class="easyui-datagrid"></table>
       </div>
       <div data-options="region:'center',title:'字典明细'">
           <table id="systemdictionary_item_tab" class="easyui-datagrid"></table>
       </div>
    </div>
    <div id="schoollinkman_tab_tool">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-add" data-cmd="addsystemdictionary">增加</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-remove" data-cmd="deletesystemdictionary">删除</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-edit" data-cmd="editsystemdictionary">编辑</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-reload" data-cmd="reloadList">刷新</a>
    </div>
    <div id="systemdictionary_item_tab_tool">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-add" data-cmd="addsystemdictionaryitem">增加</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-remove" data-cmd="deletesystemdictionaryitem">删除</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-edit" data-cmd="editsystemdictionaryitem">编辑</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-reload" data-cmd="reloadList">刷新</a>
    </div>
    <%--数据字典目录--%>
    <div id="systemdictionary_dialog" style="padding: 10px">
        <form id="systemdictionary_edit" method="post">
            <table style="width: 250px">
                <input id="systemdictionary_id" type="hidden" name="id">
                <tr align="right">
                    <td>目录名</td>
                    <td><input name="name" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>简介</td>
                    <td><input name="intro" data-options="multiline:true" class="easyui-textbox"></td>
                </tr>
            </table>
        </form>
    </div>
    <%--数据字典目录工具条--%>
    <div id="systemdictionary_edit_tool">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-ok" data-cmd="save">确定</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
    </div>

    <%--数据字典明细目录--%>
    <div id="systemdictionary_item_dialog" style="padding: 10px">
        <form id="systemdictionary_item_edit" method="post">
            <table style="width: 250px">
                <input id="systemdictionary_item_id" type="hidden" name="id">
                <tr align="right">
                    <td>目&emsp;&emsp;录</td>
                    <td><input id="item_combobox" name="parentId" class="easyui-combobox" data-options="
                            url:'/systemDictionary/selectAll',
                            valueField:'id',
                            textField:'name',
                            panelHeight:'auto',
                            "></td>
                </tr>
                <tr align="right">
                    <td>明细名称</td>
                    <td><input name="name" class="easyui-textbox"></td>
                </tr>
                <tr align="right">
                    <td>简&emsp;&emsp;介</td>
                    <td><input name="intro" data-options="multiline:true" class="easyui-textbox"></td>
                </tr>
            </table>
        </form>
    </div>
    <%--数据字典目录明细工具条--%>
    <div id="systemdictionary_item_edit_tool">
        <a class="easyui-linkbutton" plain="true" iconCls="icon-ok" data-cmd="saveitem">确定</a>
        <a class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
    </div>
    </body>
</html>
